package com.xsh.gls.mapper;

import com.xsh.gls.pojo.Depot;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface DepotMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Depot record);

    int insertSelective(Depot record);

    Depot selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Depot record);

    int updateByPrimaryKey(Depot record);

    List<Depot> selectByDepotName(@Param("depotname") String depotname);

    int add(Depot depot);

}